#pragma once
#include <atlcoll.h>

namespace FD
{
	namespace Action 
	{	
		struct Base;

		class History
		{
		public:
										History();
									   ~History();

			void						apply(Action::Base *action);
			void						undo();
			void						redo();

		private:
			CAutoPtrList<Action::Base>	m_undo;
			CAutoPtrList<Action::Base>	m_redo;
		};
	}
}